﻿@inherits UmbracoTemplatePage
@{
    Layout = "umbLayout.cshtml";
    
    // If the editor has not explicitly provided the "Page title" property page 
    // then just show the name of the page otherwise show the provided title
    var pageTitle = string.IsNullOrWhiteSpace(CurrentPage.Title)
        ? CurrentPage.Name
        : CurrentPage.Title;
}
<div id="main-wrapper">
    <div id="main" class="container">
        <div class="row">
            <div class="9u skel-cell-mainContent">
                <div class="title-background" style="margin-bottom:50px; margin-top:30px">
                    <h2>@pageTitle</h2>
                </div>
                
                <div class="content content-left">
                        <span class="wrapper-top-left"></span><span class="wrapper-top" ></span><span class="wrapper-left" ></span><span class="wrapper-bottom-left" ></span><span class="wrapper-bottom" ></span><span class="wrapper-bottom-right" ></span><span class="wrapper-right" ></span><span class="wrapper-top-right" ></span>
                    
                    <!-- Content -->
                    <article class="is-page-content">
                        <section>
                            @if (string.IsNullOrWhiteSpace(CurrentPage.Image) == false)
                            {
                                <span class="image news-image"><img src="@CurrentPage.Image" alt="" /></span>
                            }

                            @CurrentPage.BodyText
                        </section>                           
                    </article>
                    <!-- /Content -->
                </div>
            </div>
            <div class="3u">
                <div class="sidebar content-right">
                    <!-- Sidebar -->
                    @{ Html.RenderPartial("rootMenus"); }
                    @{ Html.RenderPartial("umbLatestNewsWidget"); }
                    
                    <!-- /Sidebar -->
                </div>
            </div>
        </div>
   @*     <div class="row">
            <div class="12u">
                @{ Html.RenderPartial("umbFeatures"); }
            </div>
        </div>*@
    </div>
</div>
<!-- /Main -->